<%@ page language="java" contentType="text/html; charset=utf-8"    pageEncoding="utf-8"%>
<%@include file="header.jsp"%>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #666666;
	font-weight: bold;
}
.STYLE5 {color: #666666}
.STYLE6 {
	color: #135294;
	font-weight: bold;
}
-->
</style>
<div align="center">图片广告列表</div>
 <table width="95%"  border="0" cellpadding="3" cellspacing="2" bgcolor="#FFFFFF" align="center">
   <tr>
     <td nowrap background="images/bg_table.jpg" bgcolor="#ECEAE6">名称</td>
     <td nowrap background="images/bg_table.jpg" bgcolor="#ECEAE6">操作</td>
   </tr>
   <s:iterator value="ads">
     <tr bgcolor='#F1F3F5' onmouseover = "this.style.backgroundColor = '#FFDCB0'" onmouseout = "this.style.backgroundColor = ''" style='cursor:hand'>
       <td><s:property value="position"/></td>
       <td>
       <a href="beforeUpdateAd.action?adId=<s:property value='id'/>">编辑</a> 
       <%--
       <a href="deleteUser.action?userId=<s:property value='id'/>" onclick="javascript:if(confirm('确定删除该用户吗')) return true; else return false;">删除</a> </td>
        --%> 
     </tr>
   </s:iterator>
   <%--
   <tr>
     <td colspan="2" nowrap  bgcolor='#E4EDF9'>
     	<a href="userList.action?currentPage=<s:property value='prevPage'/>">上一页</a> 
     	<a href="userList.action?currentPage=<s:property value='nextPage'/>">下一页</a>
     	共 <s:property value='totalPage'/>页 
     	<a href="user.action">新增</a>
     </td>
   </tr>
    --%>
</table>
 